package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author lizhiyuan
 * @since 2019-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dealership")
@ApiModel(value = "DealershipEntity对象", description = "")
public class DealershipEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "NSC_NO/经销商 ID")
    @TableId("DEL_ID")
    private Long id;

    @ApiModelProperty(value = "DMO系统  dealership.ID")
    @TableField("DEL_DMO_ID")
    private Integer dmoId;

    @ApiModelProperty(value = "大区编码")
    @TableField("DEL_REGION_CODE")
    private Integer regionCode;

    @ApiModelProperty(value = "英文简称")
    @TableField("DEL_SHORT_NAME_EN")
    private String shortNameEn;

    @ApiModelProperty(value = "中文简称")
    @TableField("DEL_SHORT_NAME_CN")
    private String shortNameCn;

    @ApiModelProperty(value = "英文全称")
    @TableField("DEL_AFTERSALES_COMPANY_NAME_EN")
    private String aftersalesCompanyNameEn;

    @ApiModelProperty(value = "中文全称")
    @TableField("DEL_AFTERSALES_COMPANY_NAME_CN")
    private String aftersalesCompanyNameCn;

    @TableField("DEL_DMS_NO")
    private String dmsNo;

    @TableField("DEL_BBA_NO")
    private String bbaNo;

    @ApiModelProperty(value = "城市英文")
    @TableField("DEL_CITY_EN")
    private String cityEn;

    @ApiModelProperty(value = "城市中文")
    @TableField("DEL_CITY_CN")
    private String cityCn;

    @ApiModelProperty(value = "省份英文")
    @TableField("DEL_PROVINCE_EN")
    private String provinceEn;

    @ApiModelProperty(value = "省份中文")
    @TableField("DEL_PROVINCE_CN")
    private String provinceCn;

    @TableField("DEL_ADDRESS_ID")
    private Long addressId;

    @ApiModelProperty(value = "类型")
    @TableField("DEL_DEALER_TYPE")
    private String dealerType;

    @TableField("DEL_DEALER_TYPE_ID")
    private Integer dealerTypeId;

    @ApiModelProperty(value = "集团编码")
    @TableField("DEL_DEALER_GROUP_CODE")
    private Integer dealerGroupCode;

    @ApiModelProperty(value = "品牌")
    @TableField("DEL_BRAND")
    private String brand;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_BMW")
    private String brandBmw;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_MINI")
    private String brandMini;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_MOTORRAD")
    private String brandMotorrad;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_M")
    private String brandM;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_BMWI")
    private String brandBmwi;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_USED_CAR")
    private String brandUsedCar;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_BRAND_PHEY")
    private String brandPhey;

    @TableField("DEL_DEALER_DMS_ID")
    private Long dealerDmsId;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_ACTIVE")
    private String active;

    @ApiModelProperty(value = "Y/N")
    @TableField("DEL_ONLINE_FLAG")
    private String onlineFlag;

    @TableField("DEL_CREATE_USER_ID")
    private Integer createUserId;

    @TableField("DEL_CREATE_USER")
    private String createUser;

    @TableField("DEL_CREATE_DATE")
    private LocalDateTime createDate;

    @TableField("DEL_UPDATE_USER")
    private String updateUser;

    @TableField("DEL_UPDATE_DATE")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "分库键")
    @TableField("DEL_SHARDING")
    private Integer sharding;

    public static final String DEL_ID = "DEL_ID";

    public static final String DEL_DMO_ID = "DEL_DMO_ID";

    public static final String DEL_REGION_CODE = "DEL_REGION_CODE";

    public static final String DEL_SHORT_NAME_EN = "DEL_SHORT_NAME_EN";

    public static final String DEL_SHORT_NAME_CN = "DEL_SHORT_NAME_CN";

    public static final String DEL_AFTERSALES_COMPANY_NAME_EN = "DEL_AFTERSALES_COMPANY_NAME_EN";

    public static final String DEL_AFTERSALES_COMPANY_NAME_CN = "DEL_AFTERSALES_COMPANY_NAME_CN";

    public static final String DEL_DMS_NO = "DEL_DMS_NO";

    public static final String DEL_BBA_NO = "DEL_BBA_NO";

    public static final String DEL_CITY_EN = "DEL_CITY_EN";

    public static final String DEL_CITY_CN = "DEL_CITY_CN";

    public static final String DEL_PROVINCE_EN = "DEL_PROVINCE_EN";

    public static final String DEL_PROVINCE_CN = "DEL_PROVINCE_CN";

    public static final String DEL_ADDRESS_ID = "DEL_ADDRESS_ID";

    public static final String DEL_DEALER_TYPE = "DEL_DEALER_TYPE";

    public static final String DEL_DEALER_TYPE_ID = "DEL_DEALER_TYPE_ID";

    public static final String DEL_DEALER_GROUP_CODE = "DEL_DEALER_GROUP_CODE";

    public static final String DEL_BRAND = "DEL_BRAND";

    public static final String DEL_BRAND_BMW = "DEL_BRAND_BMW";

    public static final String DEL_BRAND_MINI = "DEL_BRAND_MINI";

    public static final String DEL_BRAND_MOTORRAD = "DEL_BRAND_MOTORRAD";

    public static final String DEL_BRAND_M = "DEL_BRAND_M";

    public static final String DEL_BRAND_BMWI = "DEL_BRAND_BMWI";

    public static final String DEL_BRAND_USED_CAR = "DEL_BRAND_USED_CAR";

    public static final String DEL_BRAND_PHEY = "DEL_BRAND_PHEY";

    public static final String DEL_DEALER_DMS_ID = "DEL_DEALER_DMS_ID";

    public static final String DEL_ACTIVE = "DEL_ACTIVE";

    public static final String DEL_ONLINE_FLAG = "DEL_ONLINE_FLAG";

    public static final String DEL_CREATE_USER_ID = "DEL_CREATE_USER_ID";

    public static final String DEL_CREATE_USER = "DEL_CREATE_USER";

    public static final String DEL_CREATE_DATE = "DEL_CREATE_DATE";

    public static final String DEL_UPDATE_USER = "DEL_UPDATE_USER";

    public static final String DEL_UPDATE_DATE = "DEL_UPDATE_DATE";

}
